import { defineStore } from 'pinia';
import { reactive, ref } from 'vue';

export const usePermissionStore = defineStore('permission', () => {
    const permission = ref([])
    const getPermission = () => {
        return permission.value
    }
    const setPermission = (data) => {
        permission.value = data
    }
    return {
        permission,
        setPermission
    }
})